package top.wshape1.shiziapi.project.service;

import top.wshape1.shiziapi.project.domain.Mindmap;
import com.baomidou.mybatisplus.extension.service.IService;
import top.wshape1.shiziapi.project.domain.vo.CreateDocVo;
import top.wshape1.shiziapi.project.domain.vo.SaveContentVo;

/**
* @author Wshape1
* @description 针对表【t_project_mindmap】的数据库操作Service
* @since 2025-01-07 19:18:08
*/
public interface MindmapService extends IService<Mindmap> {

    Long create(CreateDocVo createDocVo);

    void rename(Long id, String name);

    void delete(Long id);

    void updateOrderAndParentFolderId(Long id, Integer order, Long parentFolderId);

    void updateOrder(Long id, Integer order);

    void clearProject(long projectId);

    String getContent(Long projectId, Long id);

    void SaveContent(SaveContentVo contentVo);
}
